package tgc.edu.tms.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import tgc.edu.tms.custom.CommonRepository;
import tgc.edu.tms.entity.Curriculum;
import tgc.edu.tms.entity.Profession;
@Repository
public interface CurriculumRepository extends CommonRepository<Curriculum, Integer> {

	public List<Curriculum> findByProfessionId(Integer id);

	public Curriculum findByKcmc(String curriculum);

	public Curriculum findByKcmcAndKcdmAndProfession_id(String kcmc, String kcdm, Integer id);

	public List<Curriculum> findByKkxqAndProfessionId(String string, Integer id);
	
	public Curriculum findByKcmcAndKkxqAndProfession(String kcmc,String kkxq,Profession profession);
	
}
